package com.ht.modules.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.ht.modules.system.entity.CommonConfig;
import com.ht.modules.system.entity.CommonConfigVo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 *  系统通用配置
 * @Author:
 * @Date:   2021-08-25
 * @Version: V1.0
 */
public interface CommonConfigMapper extends BaseMapper<CommonConfig> {

    List<CommonConfigVo> list(Page<CommonConfigVo> page, @Param("commonConfigVo")CommonConfigVo commonConfigVo,
                              @Param("column")String column, @Param("order")String order);

    int updateBatchByIds(@Param("colume")String colume, @Param("value")String value, @Param("ids")String[] ids);

    CommonConfigVo getUniqueConfig();

}
